package com.selebash.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Feature {

    public String value();

    /**
     * Determine, if the following feature rule can have nested rules<br/>
     * With the nested rules you can implement some type of branching
     */
    public boolean hasNested() default false;

    /**
     * Should the parser use Pattern.CASE_INSENSITIVE while matching
     */
    public boolean caseSensitive() default false;
    public String descr() default "";
}
